package com.woniuxy;

/**
 * @Author: 马宇航
 * @Do: 学生的属性
 * @DateTime: 22/05/16/0016 上午 10:29
 * @Component: 成都蜗牛学苑
 **/
public class Student {
    String name;
    int sex;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex=" + sex +
                '}';
    }

    public Student(String name, int sex) {
        this.name = name;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
}
